package com.zgm.ch06.aop.aspectJ.pointCut._2_1_2;


public class TestBean2 {
    private SimpleBean simpleBean;

    public void work() {
        this.simpleBean.sayHello();
        System.out.println("工作");
    }

    public void stop() {
        this.simpleBean.sayHello();
        System.out.println("结束");
    }

    public void setSimpleBean(SimpleBean simpleBean) {
        this.simpleBean = simpleBean;
    }
}